package club.gskj.gulimall.order.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Controller
public class TestController {

    @GetMapping("/router/{str}")
    public String router(@PathVariable("str") String template) {
        template = "/" + template;
        return template;
    }
}
